//
//  movieModel.m
//  电影豆瓣--完整版
//
//  Created by dllo on 15/12/31.
//  Copyright © 2015年 lanou. All rights reserved.
//

#import "movieModel.h"

@implementation movieModel

-(void)dealloc {
    [_imag release];
    [_title release];
    [_pubdate release];
    [_stars release];
    [_rating release];
    
    [super dealloc];
}

+ (movieModel *)movieModel {
    return [[[movieModel alloc] init] autorelease];
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    if ([key isEqualToString:@"images"]) {
        self.imag = value[@"small"];
    }
}

@end
